package com.shuma.shopmanage.shopmodule;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@org.springframework.boot.autoconfigure.SpringBootApplication
@ComponentScan(basePackages = {"com.shuma"})
@MapperScan({"com.shuma.shopmanage.shopmodule.mapper","com.shuma.shopmanage.draftmodule.mapper"})
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.shuma.shopmanage.shopmodule.userFeign")
public class ShopModuleApplication {
    public static void main(String[] args) {
        SpringApplication.run(ShopModuleApplication.class, args);
    }
}
